package com.cardone.platform.converter

import com.cardone.context.ContextHolder
import com.cardone.context.function.Execution4Function;

/**
 *  字等串处理一
 * yaohaitao
 */
class Map1Converter implements Execution4Function {
    def mapId;

    @Override
    Object execution(existingDestinationFieldValue, sourceFieldValue, destinationClass, sourceClass) {
        ContextHolder.getBean(org.dozer.Mapper.class).map(sourceFieldValue, List.class, mapId);
    }
}